home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir31 / lime1of2.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-05-26  |  1KB  |  55 lines

  1. echo off
  2. rem LimeLight(tm) Demo Installer, Version 1.0
  3. rem LimeLight is published and Copyright 1994 by BeBop Systems
  4. cls
  5. if %1. == . goto ERROR
  6. if %1 == a: goto COPY
  7. if %1 == A: goto COPY
  8. if %1 == b: goto COPY
  9. if %1 == B: goto COPY
  10. if %1 == c: goto COPY
  11. if %1 == C: goto COPY
  12. if %1 == d: goto COPY
  13. if %1 == D: goto COPY
  14. if %1 == e: goto COPY
  15. if %1 == E: goto COPY
  16. if %1 == f: goto COPY
  17. if %1 == F: goto COPY
  18. if %1 == g: goto COPY
  19. if %1 == G: goto COPY
  20. if %1 == h: goto COPY
  21. if %1 == H: goto COPY
  22. if %1 == i: goto COPY
  23. if %1 == I: goto COPY
  24. if %1 == j: goto COPY
  25. if %1 == J: goto COPY
  26. goto ERROR
  27. rem
  28. rem  Create subdirectory and unarchive
  29. :COPY
  30. rem Change destination drive to the root
  31. cd %1\
  32. rem Create subdirectory
  33. mkdir %1\limedemo
  34. rem Change destination drive to new subdirectory
  35. cd %1\limedemo
  36. rem Extract archived files and copy 
  37. lha e _limedem %1
  38. copy limedemo.txt %1
  39. copy readme.bat %1
  40. %1
  41. echo Installation complete.
  42. echo Run LIMESET to configure the LimeLight Demo!
  43. goto END
  44. rem
  45. rem  Display help screen
  46. :ERROR
  47. echo LimeLight(tm) Demo Installer, Version 1.0
  48. echo Usage:
  49. echo   INSTALL x:
  50. echo   where x: is a valid drive letter, i.e. B: or C:,
  51. echo   with at least 900k of available space.
  52. echo   Do not specify a path name, just use
  53. echo   the drive letter followed by a colon.
  54. :END
  55.